﻿#include<iostream>
#include<bitset>
using  namespace std;
int Add(int a, int b) {
	return a + b;
}

int main() {
	int c = Add(1, 2);
	std::cout << c << std::endl;

	char* str = (char*)Add;//将函数的内容转化为char字符串

	for (int i = 0; i < 30; i++) {
		printf("%X\n", (unsigned char)str[i]);//打印函数内容

		cout << bitset<8>(str[i]) << endl;
	}

	str[0] = 25;//报错，因为有函数保护
}